package com.mg.message.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "tb_message_interval")
public class MessageInterval {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 与信息表关联的ID
     */
    @TableField(value = "mid")
    private Integer mid;

    @TableField(value = "start_time")
    private String startTime;

    @TableField(value = "end_time")
    private String endTime;

    /**
     * 指定发送的时刻
     */
    @TableField(value = "send_time")
    private String sendTime;

    /**
     * 0表示启用
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    public static final String COL_ID = "id";

    public static final String COL_MID = "mid";

    public static final String COL_START_TIME = "start_time";

    public static final String COL_END_TIME = "end_time";

    public static final String COL_SEND_TIME = "send_time";

    public static final String COL_IS_DELETE = "is_delete";
}